package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.wms.Wms_Ware_Info;
import com.shop.utils.LayuiUtils;
import com.shop.utils.R;

import java.util.List;

/**
 * 后台仓库信息-李贝贝
 */
public interface Wms_Ware_Info_Service {

    /**
     * 显示所有仓库
     * @param pages
     * @param wms_ware_info
     * @return
     */
    LayuiUtils<Wms_Ware_Info> find_admin_All_Ware(Page<Wms_Ware_Info> pages, Wms_Ware_Info wms_ware_info);

    /**
     * 添加仓库
     * @param wms_ware_info
     * @return
     */
    R insert_admin_ware(Wms_Ware_Info wms_ware_info);

    /**
     * 删除仓库
     * @param id
     * @return
     */
    R delete_admin_ware(List<Long> id);

    /**
     * 修改仓库
     * @param wms_ware_info
     * @return
     */
    R update_admin_ware(Wms_Ware_Info wms_ware_info);
}
